package com.xing.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xing.DTO.ConferenceDTO;
import com.xing.entity.ConferenceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @version 1.0
 * @Author Xing
 * @Date 2024/1/16 17:01
 */
@Mapper
public interface ConferenceDao extends BaseMapper<ConferenceEntity> {
    @Select("SELECT * FROM con_conference WHERE con_code = #{conCode};")
    public ConferenceDTO GetOne(@Param("conCode") String conCode);
}
